package org.example.ExperimentTwo;

import java.util.Random;

public class RandomFile {
    public static void main(String[] args) {
     Random  random=new Random();
//     生成五个1-30的随机整数并且输出
        for (int i = 0; i < 5; i++) {
            int randomnumber= random.nextInt(30)+1;
            System.out.println(randomnumber);
        }
    }
}
